package com.erji.common.mybatis.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;

public abstract class SuperEntity extends SuperModel {
    private static final long serialVersionUID = 1L;
    @TableField(
            fill = FieldFill.INSERT
    )
    private String createBy;
    @TableField(
            fill = FieldFill.INSERT
    )
    private Date createDate;
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private String updateBy;
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private Date updateDate;

    public SuperEntity() {
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
